home *** CD-ROM | disk | FTP | other *** search
- These example programs will NOT compile under The BESTLibrary v2.32, since
- they were written with v2.00 of the library. Although the functionality is
- the same as in v2.32, many of the function names have changed. I have not
- rewritten them because they would not look any different (the output, that
- is), and I simply do not have the time now (with university in full session).
-
- EXAMP001.EXE, EXAMP003.EXE, EXAMP005.EXE will work with a Hercules or CGA
- card. The other example programs require a VGA card to operate properly.
- The source codes for each example are located in the file EXAMPLES.__C
-
- EXAMP001.EXE - Prints a simple, common menu in text mode and waits for user
- input. Only the DOS shell and Exit options perform actual
- tasks. The other two just print messages signifying their
- uselessness.
- EXAMP002.EXE - Prints a common menu in VGA graphics mode and waits for user
- input. The File-Load menu option enables other menu options,
- as it would in a real program. The File-New menu option
- disables the menu options enabled with File-Load, as it would
- in a real program.
- EXAMP003.EXE - The user is prompted for a string to animate around the screen
- and the millisecond delay between each movement of the string.
- If a mouse is detected, the left mouse button positions the
- text and the right button asks for a new delay and string to
- animate.
- EXAMP004.EXE - A little game where the object is to dodge the ever-oncoming
- rocks. The cursor pad can be used for movement, with or
- without NUM LOCK active, or the right hand side of the keyboard
- QWEASDZXC. Each key corresponds respectively to the keypad's
- 789456123. Again, the right hand keys work with or without
- CAPS LOCK active.
- EXAMP005.EXE - A demonstration program showing off the mouse routines and
- text output routines. Continually displays the status of the
- mouse cursor's coordinates and button states while filling the
- blank areas of the screen with progressively larger ASCII
- characters and then progressively smaller, in a circuit.
- EXAMP006.EXE - An animation demonstration, utilizing all four animation
- procedures. The first animation sequence will look strange, as
- it was my first attempt at an animation procedure. The second
- is specifically designed for perfectly square objects; anything
- not perfectly square will have its edges displayed (as in the
- animation). The third sequence animates any object perfectly
- with NO distortion. The disadvantage is the slowdown. The
- fourth animation moves the object one graphic row at a time, so
- it is much quicker, but there is a slight flicker.
-